/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Utils;

/**
 *
 * @author Noa
 */
public class GameDetails {
    private String status;
    private String name;
    private Integer totalPlayers;
    private Integer totalHumans;
    private Integer totalComputers;
    private Integer joinedHumans;
    private boolean bAutoDiceRoll;

    public GameDetails(String gameName, String gameStatus, Integer totalHumans, Integer totalComputers, Integer joinedHumans, Boolean autoDice){
        name = gameName;
        status = gameStatus;
        this.totalComputers = totalComputers;
        this.totalHumans = totalHumans;
        totalPlayers = totalComputers + totalHumans;
        this.joinedHumans = joinedHumans;
        bAutoDiceRoll= autoDice;
    }

    public String getGameName(){
        return name;
    }

    public String getGameStatus(){
        return status;
    }

    public Integer getTotalPlayers(){
        return totalPlayers;
    }

    public Integer getTotalHumanPlayers(){
        return totalHumans;
    }

    public Integer getTotalComputerPlayers(){
        return totalComputers;
    }

    public Integer getJoinedHumans(){
        return joinedHumans;
    }

    public void setJoinedHumanPlayers(Integer newJoinedHumans){
        joinedHumans = newJoinedHumans;
    }

    public boolean isAutomaticDiceRoll() {
        return bAutoDiceRoll;
    }
}

